MPHB\Payments\Gateways\Gateway B

Total Complexity 88
Dependencies 6
Dependents 2
Total lines 552
Lines of code 293
Logical lines of code 142
Comment lines 153
Methods 38
Properties 10

Methods 38

Method Rating Maintainability Complexity Lines of code
parsePaymentFields()
B
43 22 42
renderField()
A
52 8 21
renderFieldWrapper()
S
50 5 32
setupPaymentFields()
S
62 6 10
registerOptionsFields()
S
56 3 16
initOptionFields()
S
49 1 37
getFields()
S
71 3 6
storePaymentFields()
S
65 3 8
renderPaymentFields()
S
71 2 5
getMode()
S
79 2 3
generateItemName()
S
68 2 7
isActive()
S
79 2 3
register()
S
74 2 5
getOption()
S
64 2 9
getDefaultOption()
S
78 2 3
__construct()
S
66 1 8
paymentCompleted()
S
80 1 3
paymentFailed()
S
80 1 3
paymentRefunded()
S
80 1 3
isSandbox()
S
80 1 3
getCheckoutData()
S
71 1 6
hasPaymentFields()
S
80 1 3
paymentOnHold()
S
80 1 3
processPayment()
S
100 1 0
isShowOptions()
S
82 1 3
preRegister()
S
79 1 3
initPaymentFields()
S
82 1 3
initId()
S
81 1 3
setupProperties()
S
80 1 3
initDefaultOptions()
S
66 1 9
getDescription()
S
80 1 3
isEnabled()
S
80 1 3
getInstructions()
S
80 1 3
getTitle()
S
82 1 3
getAdminDescription()
S
82 1 3
getAdminTitle()
S
82 1 3
getId()
S
82 1 3
hasVisiblePaymentFields()
S
66 1 9